package com.wxb.common.core.enums.mall;


/**
 * 优惠卷发放方式
 * @author hd
 * @date 20240813
 */
public enum MallTake {
    USER(1, "直接领取"), // 用户可在首页、每日领劵直接领取
    ADMIN(2, "指定发放"), // 后台指定会员赠送优惠劵
    REGISTER(3, "新人券"), // 注册时自动领取
    ;
    private final int code;
    private final String info;

    MallTake(int code, String info)
    {
        this.code = code;
        this.info = info;
    }

    public int getCode()
    {
        return code;
    }

    public String getInfo()
    {
        return info;
    }
}
